<?php

class GaAPI_Objects_Amount {

    public $currencyCode;
    public $microAmount;

    public function  __construct($microAmout = null, $currencyCode = null) {
        $this->currencyCode = $currencyCode;
        $this->microAmount = $microAmout;
    }

    public function  __toString() {
        $xml = '';
        $xml .= '<currencyCode>' . $this->currencyCode . '</currencyCode>';
        $xml .= '<microAmount>' . $this->microAmount . '</microAmount>';
        return $xml;
    }

}